<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
        <li>
            <b>bb</b>
            <a>aa</a>
        </li>
        <li>5</li>
    </ul>
</body>
</html>
<script src='https://code.jquery.com/jquery-3.6.0.min.js'></script>
<script>
    //siblings()
    // 选择到第三个Li 北京颜色设置为绿色 其它的元素设置为 粉色
    let c = $("li:eq(2)").css("backgroundColor","blue").siblings().css("backgroundColor","pink")
    // console.log(c);

    //end
    let d = $("li:eq(2)").siblings().find("a").end()
    console.log(d);
</script>